import request from "../utils/request"

export const apiLogin = (data) =>{
  return request.post('/api/login',data)
}

export const apiUserInfo = (params) =>{
  return request.get('/api/userInfo',params)
}

export const apiMenu = (params) =>{
  return request.get('/api/menu',params)
}